package bean;

import java.util.HashSet;
import java.util.Set;

/**
 * VoteOption entity. @author MyEclipse Persistence Tools
 */

public class VoteOption implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long voId;
	private VoteSubject voteSubject;
	private String voOption;
	private Long voOrder;
	private Set voteItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public VoteOption() {
	}

	/** minimal constructor */
	public VoteOption(Long voId, VoteSubject voteSubject, String voOption,
			Long voOrder) {
		this.voId = voId;
		this.voteSubject = voteSubject;
		this.voOption = voOption;
		this.voOrder = voOrder;
	}

	/** full constructor */
	public VoteOption(Long voId, VoteSubject voteSubject, String voOption,
			Long voOrder, Set voteItems) {
		this.voId = voId;
		this.voteSubject = voteSubject;
		this.voOption = voOption;
		this.voOrder = voOrder;
		this.voteItems = voteItems;
	}

	// Property accessors

	public Long getVoId() {
		return this.voId;
	}

	public void setVoId(Long voId) {
		this.voId = voId;
	}

	public VoteSubject getVoteSubject() {
		return this.voteSubject;
	}

	public void setVoteSubject(VoteSubject voteSubject) {
		this.voteSubject = voteSubject;
	}

	public String getVoOption() {
		return this.voOption;
	}

	public void setVoOption(String voOption) {
		this.voOption = voOption;
	}

	public Long getVoOrder() {
		return this.voOrder;
	}

	public void setVoOrder(Long voOrder) {
		this.voOrder = voOrder;
	}

	public Set getVoteItems() {
		return this.voteItems;
	}

	public void setVoteItems(Set voteItems) {
		this.voteItems = voteItems;
	}

}